/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package EinkauferActionListener;

import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;

/**
 *
 * @author Florian
 */
class MyListDataListener implements ListDataListener {

    public MyListDataListener()  {
    }

    public void intervalAdded(ListDataEvent e) {
        System.out.println("intervalAdded: " + e.getIndex0() +
                 ", " + e.getIndex1());
    }

    public void intervalRemoved(ListDataEvent e) {
        System.out.println("intervalRemoved: " + e.getIndex0() +
                 ", " + e.getIndex1());
    }

    public void contentsChanged(ListDataEvent e) {
        System.out.println("contentsChanged: " + e.getIndex0() +
                 ", " + e.getIndex1());
    }

}
